package com.qzsoft.zhjd.machine.modules.machinefuel.mapper;

import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qzsoft.zhjd.machine.modules.machinefuel.dto.MachineRefuelRecordsDto;
import com.qzsoft.zhjd.machine.modules.machinefuel.entity.MachineRefuelRecordsEntity;

import io.lettuce.core.dynamic.annotation.Param;

/**
 * @ClassName MachineRefuelRecordsMapper
 * @Description 加油记录数据库接口
 * @author linhuawei
 * @since 2021-11-04
 */
@Mapper
public interface MachineRefuelRecordsMapper extends BaseMapper<MachineRefuelRecordsEntity> {

    /**
     * @Title queryDto
     * @Description 获取加油记录分页列表
     * @param page   分页条件
     * @param params 查询条件
     * @return 加油记录分页列表
     */
    public IPage<MachineRefuelRecordsDto> queryDto(IPage<MachineRefuelRecordsDto> page,
            @Param("params") Map<String, Object> params);

}
